home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 126-150 / disk_134 / dme / makefile < prev    next >
Makefile  |  1992-05-06  |  1KB  |  39 lines

  1.  
  2. #   Note:  In terms of compiling, if you do not have my latest
  3. #   support library you may have to do some hacking to get the
  4. #   code to link.
  5. #
  6. #   The precompiled symbol table, SYMBOLS.M, is *only* the AMIGA includes
  7. #   .. */*.h (exec/*.h, etc....).  When generating a precompiled symbol
  8. #   table remember to use the +L compiler option.
  9.  
  10. CFLAGS= +L +Ivd0:include/symbols.m
  11. OBJS= globals.o command.o keyboard.o main.o text1.o text2.o subs.o refs.o filereq.o menu.o
  12. ASMS= globals.asm command.asm keyboard.asm main.asm text1.asm text2.asm subs.asm refs.asm filereq.asm menu.asm
  13. SRCS= globals.c command.c keyboard.c main.c text1.c text2.c subs.c refs.c filereq.c menu.c
  14. HDR=  defs.h
  15.  
  16. .c.o:
  17.     cc $(CFLAGS) -o $@ $*.c
  18.  
  19. .c.asm:
  20.     cc $(CFLAGS) -A -o ram:$@ $*.c
  21.  
  22.  
  23. all: $(OBJS)
  24.     ln +Q $(OBJS) -lsup32 -lc32 -O ram:dme
  25.  
  26. asm: $(ASMS)
  27.  
  28. arc:
  29.     -delete ram:dme.arc
  30.     arc a ram:dme DME.DOC ram:dme dme.info README sample.edrc macros.edrc dme.refs.1 dme.refs.2
  31.  
  32. srcarc:
  33.     -delete ram:dmesrc.arc
  34.     arc a ram:dmesrc Makefile $(SRCS) $(HDR)
  35.  
  36. clean:
  37.     -delete $(OBJS) ram:dme
  38.  
  39.